<template>
<div align="center">
  <h1>模块管理</h1>
  <el-table
      :data="tableData"
      style="width: 84%">
    <el-table-column
        prop="Construction"
        label="工地参数"
        width="150">
    </el-table-column>

      <el-table-column
          prop="floor"
          label="楼层参数"
          width="120">
      </el-table-column>
      <el-table-column label="塔机参数">
        <el-table-column
            prop="load"
            label="载重"
            width="100">
        </el-table-column>
        <el-table-column
            prop="Towerheight"
            label="塔机高度"
            width="100">
        </el-table-column>
        <el-table-column
            prop="Carheight"
            label="小车高度"
            width="100">
        </el-table-column>
        <el-table-column
            prop="ArmAngle"
            label="大臂角度"
            width="100">
        </el-table-column>
        <el-table-column
            prop="force"
            label="力矩"
            width="100">
        </el-table-column>
        <el-table-column
            prop="TowerAngle"
            label="塔基倾斜角度"
            width="100">
        </el-table-column>
      </el-table-column>
    <el-table-column label="操作" width="150">
      <template slot-scope="scope">
        <el-button
            size="mini"
            @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
        <el-button
            size="mini"
            type="danger"
            @click="handleDelete(scope.$index, scope.row)">删除</el-button>
      </template>
    </el-table-column>
  </el-table>
</div>


</template>

<script>
export default {
  name:"Module",
  data() {
    return {
      tableData: [{
        Construction: '55',
        floor: '9',
        load: '99',
        Towerheight: '55',
        Carheight: '33',
        ArmAngle: 10077,
        force:666,
        TowerAngle:90
      }, {
        Construction: '55',
        floor: '9',
        load: '99',
        Towerheight: '55',
        Carheight: '33',
        ArmAngle: 10077,
        force:666,
        TowerAngle:90
      }, {
        Construction: '55',
        floor: '9',
        load: '99',
        Towerheight: '55',
        Carheight: '33',
        ArmAngle: 10077,
        force:666,
        TowerAngle:90
      }, {
        Construction: '55',
        floor: '9',
        load: '99',
        Towerheight: '55',
        Carheight: '33',
        ArmAngle: 10077,
        force:666,
        TowerAngle:90
      }, {
        Construction: '55',
        floor: '9',
        load: '99',
        Towerheight: '55',
        Carheight: '33',
        ArmAngle: 10077,
        force:666,
        TowerAngle:90
      }, {
        Construction: '55',
        floor: '9',
        load: '99',
        Towerheight: '55',
        Carheight: '33',
        ArmAngle: 10077,
        force:666,
        TowerAngle:90
      }, {
        Construction: '55',
        floor: '9',
        load: '99',
        Towerheight: '55',
        Carheight: '33',
        ArmAngle: 10077,
        force:666,
        TowerAngle:90
      }]
    }
  }
}
</script>
